{% extends './base.njk' %}
{% set baseClass = 'sidebar-layout' %}
{% block content %}
  {% include 'navigation/header.njk' %}
  {% include 'navigation/sidebar.njk' %}
  <main class="esl-scrollable-content">
    <div class="content mb-4 {{ containerCls or 'container markdown-container' }}">
      {% set fullPage = collections.content | findByPage(page) %}
      {% if fullPage %}
        <div class="content-page-title">
          {% for page in fullPage | pageParents %}
            <span class="parent-page">{{ page.data.title }} / </span>
          {% endfor %}
          <h1 class="current-page">{{ fullPage.data.title }}</h1>
        </div>
      {% endif %}

      {{ content | safe or 'No content.' }}
    </div>
  </main>
  <esl-scrollbar target="::prev" class="main-scroll"></esl-scrollbar>
  <div class="header-shadow"></div>
{% endblock %}
